]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
remoteSearch: fix a typo in createIcon
authorCosimo Cecchi <cosimoc@gnome.org>
Tue, 15 Jan 2013 00:36:18 +0000 (19:36 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Tue, 15 Jan 2013 00:43:45 +0000 (19:43 -0500)
428876123579589a228770faab57887169fea343 changed the method to always
create a GIcon, but didn't pass it down to the StIcon constructor.

https://bugzilla.gnome.org/show_bug.cgi?id=691750

js/ui/remoteSearch.js

index 1033e5885aae996f81530a51e4a6441f34b983db..761d3153eb7cdf5db16bfd854f700e6bc4ae8a81 100644 (file)
@@ -199,7 +199,7 @@ const RemoteSearchProvider = new Lang.Class({
                                                        bitsPerSample, width, height, rowStride);
         }
 
-        return new St.Icon({ gicon: Gio.icon_new_for_string(meta['gicon']),
+        return new St.Icon({ gicon: gicon,
                              icon_size: size });
     },